﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService.Rempos
{
    public class RolePerissionDTO
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        [Key]
        public int Role_Id { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [StringLength(30)]
        public string Role_Name { get; set; } = string.Empty;
        /// <summary>
        /// 角色状态
        /// </summary>
        public bool Role_State { get; set; }
        /// <summary>
        /// 逻辑删除列
        /// </summary>
        public bool Role_IsDelete { get; set; } = false;

        /// <summary>
        /// 权限编号
        /// </summary>
        public int Permission_Id { get; set; }
        /// <summary>
        /// 权限路由名称
        /// </summary>
        public string Permission_Name { get; set; }
        /// <summary>
        /// 权限地址
        /// </summary>
        public string Permission_RoutePath { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string? Permission_RouteName { get; set; }
        /// <summary>
        /// 权限文件名称
        /// </summary>
        public string? Permission_RouthFileName { get; set; }
        /// <summary>
        /// 路由图标
        /// </summary>
        public string? Permission_RouteIcon { get; set; }
        /// <summary>
        /// 父级编号
        /// </summary>
        public int Permission_ParentId { get; set; }
        /// <summary>
        /// 逻辑删除（true:已删除，false:未删除）
        /// </summary>
        public string? Permission_IsDeleted { get; set; }

        public int RolePerssion_Id { get; set; }
        /// <summary>
        /// 逻辑删除列
        /// </summary>
        public bool RolePerssion_IsDeleted { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime RolePerssion_CreateTime { get; set; }
    }
}
